<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/css/add.css">
    <title>更改信息</title>
</head>
<body>
    <div class="container">
        <form action="/update" class="add-form" method="post">
            <label for="Id">学号:</label>
            <input id="Id" name="Id" required type="text" value="{{.Id}}" readonly>
            <label for="NewName">姓名:</label>
            <input id="NewName" name="NewName" required type="text" value="{{.Name}}">
            <label for="Chinese">语文:</label>
            <input id="Chinese" name="Chinese" required type="text" value="{{.Chinese}}">
            <label for="Math">数学:</label>
            <input id="Math" name="Math" required type="text" value="{{.Math}}">
            <label for="English">英语:</label>
            <input id="English" name="English" required type="text" value="{{.English}}">
            <button type="submit">确认更改</button>
        </form>
        <div class="actions">
            <a href="/index">返回首页</a>
        </div>
    </div>

</body>
</html>